<?php session_start();

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Caf&eacute; de Chiapas</title>    
    <link rel="stylesheet" type="text/css" href="css/reset.css" />
    <link rel="stylesheet" type="text/css" href="css/cafedechiapas.css" />
    <link rel="stylesheet" href="jScripts/popupbox/popupbox_blanco.css" />

    <script type="text/javascript" src="jScripts/jquery-1.6.2.min.js"></script>
    
    <script type="text/javascript" src="jScripts/popupbox/popupbox_blanco.js"></script>

    <script src="jScripts/loopedslider.js" type="text/javascript"></script>        
    <script src="jScripts/jquery.cycle.all.js" type="text/javascript"></script>
    <script type="text/javascript" src="jScripts/functions.js"></script>
    <script type="text/javascript">
       $('#slide_nov').cycle({ 
        fx: 'scrollDown' 
    });
    </script>
</head>
<body>        
    <div class="wrapper">
        <div class="parentCont">
            <div class="headder">
                <div class="fleft prelative">
                    <img src="images/logo.png" alt="logo" class="pabsolute" />
                </div>
                <div style="width:587px; height:200px;" class="fright" id="loopedSlider">
                    <div class="slidesCont">  
                        <div class="slides">  
                            <div><img src="images/slide/1.jpg" width="587" height="200px" alt="First Image" /></div>  
                            <div><img src="images/slide/2.jpg" width="587" height="200px" alt="Second Image" /></div>  
                            <div><img src="images/slide/3.jpg" width="587" height="200px" alt="Third Image" /></div>  
                            <div><img src="images/slide/4.jpg" width="587" height="200px" alt="Fourth Image" /></div>  
                        </div>  
                    </div> 
                </div>
            </div>
            
            <!--MENU-->
            <div class="menu_all">
                <div id="menu">
                    <ul>
                        <li class="active" style="width: 114px;"><span><a href="#">Inicio</a></span></li>
                        <li style="width: 114px;"><span>Nosotros</span></li> 
                        <li style="width: 122px;"><span>Productos</span></li>                    
                        <li style="width: 130px;"><span style="line-height: 20px;">B&uacute;squeda Avanzada</span></li>
                        <li style="width: 130px;"><span>Mi cuenta</span></li>
                        <li style="width: 123px;"><span>Cont&aacute;cto</span></li>                        
                    </ul>                
                </div>
            </div> <!--END MENU-->                      
            
            <!--CONTENEDOR PRINCIPAL-->
            <div class="mainCont">
                <div class="cleft fleft">
                    <div class="shoppad headertext">
                        <a href="#" onClick="showcar();"><img width="25" height="25" border="0" alt="" src="images/cart.gif" />
                        Carrito de Compras<br />Usted tiene <span id="shop_items"><?php if(isset($_SESSION['items'])) echo $_SESSION['items']; else echo '0';?></span> articulos</a>
                    </div>
                    <!--CATEGORIAS-->
                    <div id="box_categories_heading" class="lefttext">Categor&iacute;as</div>
                    <div id="box_categories">
                        <?php
                            include('php/categorias.php');
                        ?>
                        <!--<a class="" href="#">Granel</a><br />
                        <a class="" href="#">Molido</a><br />
                        <a class="" href="#">Soluble</a><br />
                        <a class="" href="#">Dulces de caf&eacute;</a><br />
                        <a class="" href="#">Otros derivados</a><br />-->
                        <a href="#" onClick="showarticulos(0,1)" class="menu_all"> Ver todas las categor&iacute;as</a>
                    </div><!--END CATEGORIAS-->
                    
                    <!--NOVEDADES-->
                    <div id="box_specials_heading" class="lefttext">
                        Novedades y Promociones
                    </div>
                    <div style ="margin-top:26px;">
                        <div id ="slide_nov" class="contenedor_nov"> 
                            <img src="images/novedad1.jpg" width="200" height="200" /> 
                            <img src="images/novedad2.jpg" width="200" height="200" /> 
                            <img src="images/novedad3.jpg" width="200" height="200" /> 
                            <img src="images/novedad4.jpg" width="200" height="200" /> 
                        </div> 
                    </div> <!--END NOVEDADES-->

                </div>
                <div class="cright fright">
                    <div class="number_up" style="margin-top: 10px;">
                        <div>
                            <span class="headertext">Bienvenido:</span> <b>+{USER}</b>
                            
                        </div>
                    </div>
                    <div class="main_bottom" id ="showProducts">


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
<br/><br/>
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

<br/><br/>
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.
                        
                    <!--<div class="catalogo" >
                        <div class="goods">
                            <div style="padding:15px 0px 0 8px">
                                <div class="item_zag_main zag" style="text-align:center">
                                    <a href="#">{PRODUCTNAME}</a>
                                </div>
                                <div style="float:left;padding:5px 10px 0 10px; width: 82px">
                                    <a href="#">
                                        <img src="images/img_01.gif" border="0" alt="Nulla mollis" title=" Nulla mollis " width="88" height="169"/>
                                    </a>
                                </div>
                                <div class="item_des" style="padding-top:25px">Existencia:{STOCK}</div>
                                <div style="height:13px"></div>
                                <div class="item_price">${PRECIO}</div>
                                <div style=" margin:0px 0 0 0px;">
                                    <form name="cart_quantity" action="#" method="post">
                                        <input type="image" src="includes/languages/english/images/buttons/../../../../../images/button_in_cart.gif" border="0" alt="Add to Cart" title=" Add to Cart " style="margin:15px 0px 6px 0px; float:left"/>
                                        <input type="hidden" name="products_id" value="35"/>
                                    </form>
                                    <a href="#">
                                        <img src="images/button_det.gif" border="0" alt="" width="89" height="24" style="float:left"/>
                                    </a>
                                </div>&nbsp;
                            </div>
                            
                        </div></div>-->
                                             
                    </div>

                </div>
                <div class="clear"></div>
                <div class="footer">
                    <div align="right" class="footertext" style="padding:10px 30px 0 30px;">
                        <span style="font-family:verdana; font-size:12px; color:#BA9664; font-weight:bold">&copy; Copyright.2012</span><br /><br />
                        <a href="#" title="Preguntas Frecuentes">FAQs</a>&nbsp;&nbsp;|
                        &nbsp;<a href="#" title="Patrocinadores">Patrocinadores</a>&nbsp;&nbsp;|
                        &nbsp;<a href="#" title="Friend Pages">Pol&iacute;ticas de privacidad</a>&nbsp;&nbsp;|
                        &nbsp;<a href="#" title="Create an Account">Aviso Legal</a>&nbsp;&nbsp;
                        
                    </div>
                    
                    <a href="#" style="padding-left:20px;color:#BA9664" class="fleft">www.CafeDeChiapas.com</a>
                    <a href="#" style="padding-right:20px;color:#BA9664" class="fright"><b>S&oacute;lo el mejor caf&eacute; de Tierras Chiapanecas</b></a>
                    <div class="clear" style="margin-bottom: 5px;"></div>                    
                </div>
            </div><!--TERMINA CONTENEDOR PRINCIPAL-->
        </div>
    </div>
    <script type="text/javascript" charset="utf-8">
        $(function(){
            $('#loopedSlider').loopedSlider({
                container:'.slidesCont'
            });
        });
    </script>
</body>
</html>
